﻿using netcore_service.Model;
using Panda.DynamicWebApi;
using Panda.DynamicWebApi.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace netcore_service.IService
{
    [DynamicWebApi]
    public interface IMeetingService : IDynamicWebApi
    {
        Task<ApiResult<List<MeetInfo>>> MeetListAsync();
        Task<ApiResult<MeetInfo>> MeetListOne();

        Task<ApiResult<bool>> MeetUpdateOrAddAsync(MeetInfo meetInfo);
        Task<ApiResult<MeetInfo>> MeetByIdAsync(int id);
        Task<ApiResult<bool>> MeetDelAsync(int id);
    }
}
